<h1>New task</h1>

<% form_for([@submiter,@task]) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  <p>
	<%= f.label :project%>
	<%= f.select :project_id , @projects %>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', tasks_path %>
